﻿#ifndef FORM2_H
#define FORM2_H

#include <QWidget>
#include <QTreeWidgetItem>
#include "samename.h"

namespace Ui {
class Form2;
}

class Form2 : public QWidget
{
    Q_OBJECT
signals:
    void sendData2(QString id);
    void sendData3(QString id);
public:
    explicit Form2(QWidget *parent = 0);
    ~Form2();


private slots:
    //void on_treeWidget_doubleClicked(const QModelIndex &index);
    //void slotDoubleClickItem(QTreeWidgetItem *item, int col);
    //void on_treeWidget_doubleClicked(const QModelIndex &index);
    void showSelectedImage(QTreeWidgetItem *item, int column);



void printshi();
void printqu();
void printbirthshi();
void printbirthqu();
void printgrowshi();
void printgrowqu();


    void on_pushButton_clicked();

    void on_pushButton_3_clicked();



    void on_jiguanqu_currentIndexChanged(const QString &arg1);



    void on_birthqu_currentIndexChanged(const QString &arg1);

    void on_growqu_currentIndexChanged(const QString &arg1);

public slots:
    void recvData1(QString id);
private:
    Ui::Form2 *ui;
    samename *same;

};

#endif // FORM2_H
